package com.orderplus.opshop.synces.constant;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * created by wangzelong 2019/3/16 16:19
 */
@Data
@Component
public class ConfigProperties {

	@Value("${canal.ip}")
	private String ip;

	@Value("${canal.port}")
	private Integer port;

	@Value("${canal.destination}")
	private String destination;

	@Value("${spring.datasource.dbname}")
	private String dbname;

	@Value("${spring.datasource.username}")
	private String username;

	@Value("${spring.datasource.password}")
	private String password;

}
